var express = require('express');
var router = express.Router();
var userCtrl = require('../controller/cate.controller');

router.post('/data',userCtrl.create);
router.put('/data/:id',userCtrl.update);
router.get('/list/:type',userCtrl.list);
router.delete('/data/:id',userCtrl.remove);


module.exports = router; 
